package com.arpa.wms.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


/**
 * <p>
 * 包材记录
 * </p>
 *
 * @author rfwang
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wms_packing_material_record")
@ApiModel(value="PackingMaterialRecord对象", description="包材记录")
public class PackingMaterialRecord extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "全局code")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "所属机构code")
    @TableField("group_code")
    private String groupCode;

    @ApiModelProperty(value = "销售单号")
    @TableField("delivery_code")
    private String deliveryCode;

    @ApiModelProperty(value = "包材编码")
    @TableField("packing_material_code")
    private String packingMaterialCode;

    @ApiModelProperty(value = "包材名称")
    @TableField("packing_material_name")
    private String packingMaterialName;

    @ApiModelProperty(value = "包材容积")
    @TableField("packing_material_volume")
    private BigDecimal packingMaterialVolume;

}
